<%-- 
    Document   : pestanascandidatoconvocatorias
    Created on : 18-ene-2012, 12:38:38
    Author     : Cris & Fran
--%>

<%@page import="java.util.ResourceBundle"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<br>
<div id="pestanas">
    <form action="ver-modificar-candidato-accion.do?canId=<%=request.getParameter("canId")%>" name="pestanasCandidatoForm" method="POST">
    <input type="hidden" name="canId" id="canId" value="<%=request.getParameter("canId") %>" />
    <input type="hidden" name="idPestanaCandidato" id="idPestanaCandidato" value="<%if (request.getParameter("idPestanaCandidato")!= null) {%><%=request.getParameter("idPestanaCandidato")%><%}else{%>1<%}%>" />
    <ul>
        <li <%if (request.getParameter("idPestanaCandidato")!= null && request.getParameter("idPestanaCandidato").trim().equals("1")){%> class="activa" <%}%>><a href="javascript:void(1);" onclick="javascript:document.pestanasCandidatoForm.idPestanaCandidato.value='1';document.pestanasCandidatoForm.submit()">Historial&nbsp;Convocatorias</a></li>
    </ul>
</form>
</div>

<div id="contenedorpestanas">
    <%
        String contenidoCandidato=null;
        ResourceBundle bundle=(ResourceBundle)application.getAttribute("acciones-mapeo");
        //ResourceBundle bundle=(ResourceBundle)application.getAttribute("vistas-mapeo");
        if (request.getAttribute("contenido-candidato")==null){

         contenidoCandidato=bundle.getString("menu-principal");
        }else{
            contenidoCandidato=bundle.getString((String)request.getAttribute("contenido-candidato"));
        }
    %>
    <div class="contenido">
    <jsp:include page="<%= contenidoCandidato %>" flush="true" />
    </div>
</div>